package hcn.cmc.bean.response;


import hcn.protocol.base.hisPlateform.MsgHeaderRequest;

import javax.xml.bind.annotation.*;
import java.util.List;

@XmlRootElement(name = "BSXml")
@XmlAccessorType(XmlAccessType.FIELD)
public class TreatmentItemSetXmlResp {
    private MsgHeaderRequest MsgHeader;
    private TreatmentItemSetXmlResp.MsgBody MsgBody;


    public MsgHeaderRequest getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeaderRequest msgHeader) {
        MsgHeader = msgHeader;
    }

    public TreatmentItemSetXmlResp.MsgBody getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(TreatmentItemSetXmlResp.MsgBody msgBody) {
        MsgBody = msgBody;
    }

    @XmlRootElement(name = "MsgBody")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class MsgBody{
        private String Status;
        private String Code;
        private String Detail;
        private TreatmentItemSetXmlResp.MsgBody.Data Data;

        public MsgBody() { }

        public String getStatus() {
            return this.Status;
        }

        public void setStatus(String status) {
            this.Status = status;
        }

        public String getCode() {
            return this.Code;
        }

        public void setCode(String code) {
            this.Code = code;
        }

        @XmlElement(name = "Data")
        public String getDetail() {
            return this.Detail;
        }

        public void setDetail(String detail) {
            this.Detail = detail;
        }

        public TreatmentItemSetXmlResp.MsgBody.Data getData() {
            return this.Data;
        }

        public void setData(TreatmentItemSetXmlResp.MsgBody.Data data) {
            this.Data = data;
        }


        @XmlRootElement(name = "Data")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Data{

            @XmlElementWrapper(name = "TreatmentSetLists")
            @XmlElement(name = "TreatmentSetList")
            public List<TreatmentSetList> TreatmentSetLists;

            public List<TreatmentSetList> getTreatmentSetLists() {
                return TreatmentSetLists;
            }

            public void setTreatmentSetLists(List<TreatmentSetList> treatmentSetLists) {
                TreatmentSetLists = treatmentSetLists;
            }

            @XmlAccessorType(XmlAccessType.FIELD)
            public static class TreatmentSetList{

              private String TreatmentSetCode;
              private String TreatmentSetName;
              private String PyCode;

                public String getTreatmentSetCode() {
                    return TreatmentSetCode;
                }

                public void setTreatmentSetCode(String treatmentSetCode) {
                    TreatmentSetCode = treatmentSetCode;
                }

                public String getTreatmentSetName() {
                    return TreatmentSetName;
                }

                public void setTreatmentSetName(String treatmentSetName) {
                    TreatmentSetName = treatmentSetName;
                }

                public String getPyCode() {
                    return PyCode;
                }

                public void setPyCode(String pyCode) {
                    PyCode = pyCode;
                }
            }
        }

    }
}

